package functionalInterface;

import java.util.Comparator;

public class FunctionalIntefaceOldWay implements Comparator<String> {

	@Override
	public int compare(String o1, String o2) {
		int num = o1.length() - o2.length();
		return num;
	
		
	}

}
